package com.googlecode.continuity.core.server.service;

import java.util.List;

import com.googlecode.continuity.core.client.ConfigurationEntry;

/**
 * ConfigurationService
 *
 * @author Peter Schmitt <aragos@aragos.de>
 */
public interface ConfigurationService {
  String getValue(String code);

  int getValueInteger(String code);

  ConfigurationEntry getConfiguration(String code);

  List<ConfigurationEntry> getConfigurations(List<String> codes);

  void setConfiguration(ConfigurationEntry configurationEntry);

  void setConfigurations(List<ConfigurationEntry> configurationEntries);
}
